﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Pocahontas.Web;

namespace Pocahontas.Web.Tests
{
	[TestFixture]
	public class SitecoreHtmlParserTests
	{
		[Test]
		public void TestConvertCssSizeUnitToInt32()
		{
			int size = SitecoreFieldAttributeParser.ConvertCssSizeUnitToInt32("10px");
		
			Assert.AreEqual(10, size);
		}
	}
}
